package cn.heycm.blog.common.entity.session;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

/**
 * session
 *
 * @author hey
 * @version 1.0
 * @since 2024/9/15 15:29
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Session implements Serializable {

    @Serial
    private static final long serialVersionUID = 1500684116375810441L;

    private int userId;

    private int roleId;

    private String phoneId;

    private String username;

    private String nickname;

    private String avatar;

    private String token;

}
